{% extends "base_delete.html" %}

{% load breadcrumbs %}

{% block breadcrumbs %}
    {% add_crumb 'Home' '/' %}
    {% add_crumb 'Partners' 'partner_list' %}
    {% if owner_class == "Contact" %}
    {% add_crumb 'Contacts' 'contact_list' %}
    {% add_crumb owner owner.get_absolute_url %}
    {% add_crumb 'Phone numbers' 'contact_phones' owner.pk %}
    {% else %}
    {% add_crumb owner owner.get_absolute_url %}
    {% add_crumb 'Phone numbers' 'partner_phones' owner.pk %}
    {% endif %}
    {% add_crumb object %}
    {% add_crumb "Delete" %}
{% endblock %}
